Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Drawing Attributes

QuickDraw 3D provides a routine that you can use to draw an attribute.

Q3Attribute_Submit

You can use the Q3Attribute_Submit function to submit an attribute in immediate mode.

TQ3Status Q3Attribute_Submit (
                     TQ3AttributeType attributeType,
                     const void *data,
                     TQ3ViewObject view);
attributeType
An attribute type.
data
A pointer to the attribute's data.
view
A view.

DESCRIPTION

The Q3Attribute_Submit function submits the attribute specified by the attributeType and data parameters into the view specified by the view parameter.

SPECIAL CONSIDERATIONS

You should call Q3Attribute_Submit only in a submitting loop.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |